﻿
/*========================================================================================
//香港绿瘦国际集团 -- EShop
//创建者: 余波
//创建时间：2012年12月4日
//类描述：实体类 View_Review_Product (属性说明自动提取数据库字段的描述信息)
//最后修改者:余波
//最后修改时间:2012年12月4日	
=========================================================================================*/
using System;
using System.Web;
using System.Runtime.Serialization;

namespace COM.Rights.Model
{
    /// <summary>
    /// 实体类 View_Review_Product (属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    [Model(Name = "View_Review_Product", PrimaryKey = "ProduceReview_ID", ModelType = ModelType.Table, Condition = "1=1", IsNeedRecordModify = true)]
    public partial class View_Review_ProductInfo : BaseModel
    {
        public View_Review_ProductInfo()
        {
            PrimaryKey = "ProduceReview_ID"; 		
			this.OnCreated();
			this.OnModelCreated();
        }
		
		#region 方法

        public void OnCreated() { this.SetPrimaryKeyValue(); }			
		public override void SetPrimaryKeyValue(){}
		
        #endregion 
		
		#region 成员变量
				
		private string _ProduceReview_ID;//ProduceReview_ID
		private string _Customer_ID;//Customer_ID
		private string _CustomerName;//CustomerName
		private DateTime? _ReviewDate;//ReviewDate
		private string _Content;//Content
		private string _Star;//Star
		private string _Reply;//reply
		private string _CheckBy;//CheckBy
		private DateTime? _ChectDate;//ChectDate
		private bool? _IsPublish;//IsPublish
		private string _Produce_ID;//Produce_ID
		private string _Model;//Model
		private bool? _IsAuto;//IsAuto
		private string _IP;//IP
		private string _Area;//Area
		private string _IMGGift;//IMGGift
		private string _Goods_img4;//goods_img4
		private string _Goods_img3;//goods_img3
		private string _Goods_img2;//goods_img2
        private string _Goods_img;//goods_img
		private string _ImgList;//ImgList
        private string _ReduceImage;//ImgList
		private string _ImgBanner;//ImgBanner
		private string _Brank_ID;//Brank_ID
		
		#endregion
		
		#region 属性 
		
		/// <summary>
        /// ProduceReview_ID
        /// </summary>       
		[ModelField(Description = "ProduceReview_ID", Type = typeof(string), ErrorMessage = "ProduceReview_ID信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = 36,  DbType = "char", IsNeedRecordModify = true)]
        public virtual string ProduceReview_ID
        {
            get
            {
                return this._ProduceReview_ID;
            }
            set
            {               
				_ProduceReview_ID = value;
            }
        }
		
		/// <summary>
        /// Customer_ID
        /// </summary>       
		[ModelField(Description = "Customer_ID", Type = typeof(string), ErrorMessage = "Customer_ID信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 36,  DbType = "char", IsNeedRecordModify = true)]
        public virtual string Customer_ID
        {
            get
            {
                return this._Customer_ID;
            }
            set
            {               
				_Customer_ID = value;
            }
        }
		
		/// <summary>
        /// CustomerName
        /// </summary>       
		[ModelField(Description = "CustomerName", Type = typeof(string), ErrorMessage = "CustomerName信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 50,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string CustomerName
        {
            get
            {
                return this._CustomerName;
            }
            set
            {               
				_CustomerName = value;
            }
        }
		
		/// <summary>
        /// ReviewDate
        /// </summary>       
		[ModelField(Description = "ReviewDate", Type = typeof(DateTime?), ErrorMessage = "ReviewDate信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 8,  DbType = "datetime", IsNeedRecordModify = true)]
        public virtual DateTime? ReviewDate
        {
            get
            {
                return this._ReviewDate;
            }
            set
            {               
				_ReviewDate = value;
            }
        }
		
		/// <summary>
        /// Content
        /// </summary>       
		[ModelField(Description = "Content", Type = typeof(string), ErrorMessage = "Content信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 600,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string Content
        {
            get
            {
                return this._Content;
            }
            set
            {               
				_Content = value;
            }
        }
		
		/// <summary>
        /// Star
        /// </summary>       
		[ModelField(Description = "Star", Type = typeof(string), ErrorMessage = "Star信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 10,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Star
        {
            get
            {
                return this._Star;
            }
            set
            {               
				_Star = value;
            }
        }
		
		/// <summary>
        /// reply
        /// </summary>       
		[ModelField(Description = "reply", Type = typeof(string), ErrorMessage = "reply信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 600,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string Reply
        {
            get
            {
                return this._Reply;
            }
            set
            {               
				_Reply = value;
            }
        }
		
		/// <summary>
        /// CheckBy
        /// </summary>       
		[ModelField(Description = "CheckBy", Type = typeof(string), ErrorMessage = "CheckBy信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 50,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string CheckBy
        {
            get
            {
                return this._CheckBy;
            }
            set
            {               
				_CheckBy = value;
            }
        }
		
		/// <summary>
        /// ChectDate
        /// </summary>       
		[ModelField(Description = "ChectDate", Type = typeof(DateTime?), ErrorMessage = "ChectDate信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 8,  DbType = "datetime", IsNeedRecordModify = true)]
        public virtual DateTime? ChectDate
        {
            get
            {
                return this._ChectDate;
            }
            set
            {               
				_ChectDate = value;
            }
        }
		
		/// <summary>
        /// IsPublish
        /// </summary>       
		[ModelField(Description = "IsPublish", Type = typeof(bool?), ErrorMessage = "IsPublish信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 1,  DbType = "bit", IsNeedRecordModify = true)]
        public virtual bool? IsPublish
        {
            get
            {
                return this._IsPublish;
            }
            set
            {               
				_IsPublish = value;
            }
        }
		
		/// <summary>
        /// Produce_ID
        /// </summary>       
		[ModelField(Description = "Produce_ID", Type = typeof(string), ErrorMessage = "Produce_ID信息错误!", FieldType = FieldType.Normal, IsAllowNull = false, IsDbGenerated = false, Size = 36,  DbType = "char", IsNeedRecordModify = true)]
        public virtual string Produce_ID
        {
            get
            {
                return this._Produce_ID;
            }
            set
            {               
				_Produce_ID = value;
            }
        }
		
		/// <summary>
        /// Model
        /// </summary>       
		[ModelField(Description = "Model", Type = typeof(string), ErrorMessage = "Model信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 500,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Model
        {
            get
            {
                return this._Model;
            }
            set
            {               
				_Model = value;
            }
        }
		
		/// <summary>
        /// IsAuto
        /// </summary>       
		[ModelField(Description = "IsAuto", Type = typeof(bool?), ErrorMessage = "IsAuto信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 1,  DbType = "bit", IsNeedRecordModify = true)]
        public virtual bool? IsAuto
        {
            get
            {
                return this._IsAuto;
            }
            set
            {               
				_IsAuto = value;
            }
        }
		
		/// <summary>
        /// IP
        /// </summary>       
		[ModelField(Description = "IP", Type = typeof(string), ErrorMessage = "IP信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 50,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string IP
        {
            get
            {
                return this._IP;
            }
            set
            {               
				_IP = value;
            }
        }
		
		/// <summary>
        /// Area
        /// </summary>       
		[ModelField(Description = "Area", Type = typeof(string), ErrorMessage = "Area信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 500,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string Area
        {
            get
            {
                return this._Area;
            }
            set
            {               
				_Area = value;
            }
        }
		
		/// <summary>
        /// IMGGift
        /// </summary>       
		[ModelField(Description = "IMGGift", Type = typeof(string), ErrorMessage = "IMGGift信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 100,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string IMGGift
        {
            get
            {
                return this._IMGGift;
            }
            set
            {               
				_IMGGift = value;
            }
        }
		
		/// <summary>
        /// goods_img4
        /// </summary>       
		[ModelField(Description = "goods_img4", Type = typeof(string), ErrorMessage = "goods_img4信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 100,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Goods_img4
        {
            get
            {
                return this._Goods_img4;
            }
            set
            {               
				_Goods_img4 = value;
            }
        }
		
		/// <summary>
        /// goods_img3
        /// </summary>       
		[ModelField(Description = "goods_img3", Type = typeof(string), ErrorMessage = "goods_img3信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 100,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Goods_img3
        {
            get
            {
                return this._Goods_img3;
            }
            set
            {               
				_Goods_img3 = value;
            }
        }
		
		/// <summary>
        /// goods_img
        /// </summary>       
		[ModelField(Description = "goods_img", Type = typeof(string), ErrorMessage = "goods_img信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 100,  DbType = "varchar", IsNeedRecordModify = true)]
        public virtual string Goods_img
        {
            get
            {
                return this._Goods_img;
            }
            set
            {               
				_Goods_img = value;
            }
        }

        /// <summary>
        /// goods_img3
        /// </summary>       

		
		/// <summary>
        /// ImgList
        /// </summary>       
		[ModelField(Description = "ImgList", Type = typeof(string), ErrorMessage = "ImgList信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 200,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string ImgList
        {
            get
            {
                return this._ImgList;
            }
            set
            {               
				_ImgList = value;
            }
        }
		
		/// <summary>
        /// ImgBanner
        /// </summary>       
		[ModelField(Description = "ImgBanner", Type = typeof(string), ErrorMessage = "ImgBanner信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 200,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string ImgBanner
        {
            get
            {
                return this._ImgBanner;
            }
            set
            {               
				_ImgBanner = value;
            }
        }

        /// <summary>
        /// ReduceImage
        /// </summary>       
        [ModelField(Description = "ReduceImage", Type = typeof(string), ErrorMessage = "ReduceImage信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 200, DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string ReduceImage
        {
            get
            {
                return this._ReduceImage;
            }
            set
            {
                _ReduceImage = value;
            }
        }
		
		/// <summary>
        /// Brank_ID
        /// </summary>       
		[ModelField(Description = "Brank_ID", Type = typeof(string), ErrorMessage = "Brank_ID信息错误!", FieldType = FieldType.Normal, IsAllowNull = true, IsDbGenerated = false, Size = 50,  DbType = "nvarchar", IsNeedRecordModify = true)]
        public virtual string Brank_ID
        {
            get
            {
                return this._Brank_ID;
            }
            set
            {               
				_Brank_ID = value;
            }
        }
		
		#endregion 属性			  	
        public virtual string DetailURI { get; set; }
        public virtual string DetailHTMLURI { get; set; }
        public virtual string ManageEditURI { get; set; }
        public virtual string ManageDetailURI { get; set; }

        public override void OnLoaded()
        {
            base.OnLoaded();
            DetailURI = ZModel.InitDetailURI("View_Review_Product", "", ProduceReview_ID);
            DetailHTMLURI = ZModel.InitDetailHTMLURI("View_Review_Product", "", ProduceReview_ID);
            ManageEditURI = ZModel.InitMEditURI("View_Review_Product", "", ProduceReview_ID);
            ManageDetailURI = ZModel.InitMDetailURI("View_Review_Product", "", ProduceReview_ID);
            OnModelLoaded();
        }				
		partial void OnModelCreated();
        partial void OnModelLoaded();
	}
}
		
